package com.eling.elcms.system.dao;

import com.eling.elcms.core.dao.IGenericDao;
import com.eling.elcms.system.model.ElcmsUser;

import java.util.List;

/**
 * ElcmsUser的Dao接口
 * @author WULINA
 *
 */
public interface IElcmsUserDao extends IGenericDao<ElcmsUser, Long> {
		
	/**
	 * 查询指定楼指定角色的用户
	 * @param pkBuilding 指定楼
	 * @param pkRole 指定角色
	 */
	List<ElcmsUser> queryUsersByBuilding(Long pkBuilding, Long pkRole);

}
